Fork me on GitHub

Codingbat.com exercises Part 1

by Elliott Hauser

09 Feb 2014

Note you have two extra days for this assignment. Get started early- you will likely need the extra time. Several of these problems are tricky! Remember to use your resources: your classmates, our community, the Internet, and Grant and I.

Codingbat Test-driven learning

Codingbat is like batting practice for coding. There are small little problems with several tests listed over on the side. As you write and run the program you'll see more and more of the tests turn green. This mimics the programming technique of Test Driven Development where the behavior of a program is specified at the beginning by writing tests.

Sign in to Codingbat.com using the free Mozilla Persona service so you can save and track your progress.

As you work through these problems, try some of the strategies in our reading on Debugging.

What to turn in

  • Complete Warmup 1, Lists 1, Strings 1, Logic 1
  • Choose three exercises that you found most interesting and write a single post about why you liked them, or why they were hard.
  • Include one screenshoy each of the sections once you've completed them. http://codingbat.com/python/Warmup-1 will have checkmarks when you complete its exercises. We want to see the checkmarks.
  • Submit a well-formatted pull request with your working post and a link to your github.io site
Elliott Hauser is a PhD Student in information science at UNC Chapel Hill. He's hacking education as one of the cofounders of Trinket.io. Find Elliott Hauser on Twitter, Github, and on the web.
comments powered by Disqus